let fs = require('fs')
const { json } = require('body-parser')
const express = require('express')
const { log } = require('console')
let router = express.Router()

router.get('/login', (req, res) => {
  fs.readFile('./index.html', function (err, data) {
    res.send(data.toString())
  })
})
module.exports = router